package com.axzhengxin.platform.area.controller;

import com.axzhengxin.platform.area.domain.FspBranch;
import com.axzhengxin.platform.area.service.FspBranchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author AHZJ0005
 * @Date 2021/3/2-15:51
 **/
@RestController
@RequestMapping("/area")
public class AreaController {

    @Autowired
    private FspBranchService fspBranchService;

    @RequestMapping("/list")
    public List<FspBranch> list(){
        List<FspBranch> list=  fspBranchService.list();

        return list;
    }
}
